﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Net;

namespace Toybox.NicoSharp.Live.LiveGuide
{
	using Utilities;
	using Extensions;

#if false
	[DataContract]
	public class ZeroTimelineCalendar
	{

	#region [Static]

		public const string URL_GETZEROTIMELINECALENDAR = LiveUrls.Api + @"getZeroTimelineCalendar?date=";

		public static ZeroTimelineCalendar Get(DateTime date, CookieCollection cookies = null)
		{
			cookies = cookies.Coerce();

			string url = URL_GETZEROTIMELINECALENDAR + date.ToString("yyyy-MM-dd");
			string json = NicoWebClient.Get(url, cookies);
			//json = json.Replace(@"\","");

			return Deserializer.JsonDeserializer<ZeroTimelineCalendar>(json);
		}

	#endregion [Static]


	#region Public Members

		[DataMember]
		public string airdate_list;

	#endregion Public Members


	#region [SubClass]

		[DataContract]
		public class AirDate
		{
			[DataMember]
			public int day;
		}

	#endregion [SubClass]

	}
#endif
}